import React from 'react'
import {Flex} from "antd-mobile";
import {Main,Footer} from "./Main";
import '../index.css'

export const Template = (props) => (
<Flex direction='column' style={{height:'100vh',background:'#fff'}}>
    <Main></Main>
    {props.children}
    <Footer></Footer>
</Flex>
)